﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

using Unis.Framework.ORM.Attributes;
using System.ComponentModel;


namespace KingRoad.EPM.PersonnelLogEntity.Model
{
    /// <summary> 
    /// 文件生成时间 2017/2/5 14:53:51
    /// </summary> 
    [Serializable]
    [ModelMap("Scm_AssessmentItems", new string[] { "Ai_ID" })]
    public class ScmAssessmentitemsInfo : BaseEntity
    {
        public ScmAssessmentitemsInfo()
        {

        }


        private string _aiId;
        /// <summary>
        /// 考核项主键
        /// </summary>
        [ColumnMap("Ai_ID", System.Data.DbType.String)]
        public string Ai_ID
        {
            get { return _aiId; }
            set
            {
                if (object.Equals(this._aiId, value) != true)
                {
                    this._aiId = value;
                    this.RaisePropertyChanged("Ai_ID");
                }
            }
        }


        private string _aiType;
        /// <summary>
        /// 考核类别（与字典表关联）
        /// </summary>
        [ColumnMap("Ai_Type", System.Data.DbType.String)]
        public string Ai_Type
        {
            get { return _aiType; }
            set
            {
                if (object.Equals(this._aiType, value) != true)
                {
                    this._aiType = value;
                    this.RaisePropertyChanged("Ai_Type");
                }
            }
        }

        private string _aiTypeName;
        /// <summary>
        /// 考核类别名称（与字典表关联）
        /// </summary>
        [ColumnMap("Ai_TypeName", System.Data.DbType.String)]
        public string Ai_TypeName
        {
            get { return _aiTypeName; }
            set
            {
                if (object.Equals(this._aiTypeName, value) != true)
                {
                    this._aiTypeName = value;
                    this.RaisePropertyChanged("Ai_TypeName");
                }
            }
        }

        private string _aiPOrder;
        /// <summary>
        /// 考核父序号+子序号
        /// </summary>
        [ColumnMap("Ai_POrder", System.Data.DbType.String)]
        public string Ai_POrder
        {
            get { return _aiPOrder; }
            set
            {
                if (object.Equals(this._aiPOrder, value) != true)
                {
                    this._aiPOrder = value;
                    this.RaisePropertyChanged("Ai_POrder");
                }
            }
        }

        private int _aiOrder;
        /// <summary>
        /// 考核序号
        /// </summary>
        [ColumnMap("Ai_Order", System.Data.DbType.Int32)]
        public int Ai_Order
        {
            get { return _aiOrder; }
            set
            {
                if (object.Equals(this._aiOrder, value) != true)
                {
                    this._aiOrder = value;
                    this.RaisePropertyChanged("Ai_Order");
                }
            }
        }


        private string _aiProject;
        /// <summary>
        /// 考核项目
        /// </summary>
        [ColumnMap("Ai_Project", System.Data.DbType.String)]
        public string Ai_Project
        {
            get { return _aiProject; }
            set
            {
                if (object.Equals(this._aiProject, value) != true)
                {
                    this._aiProject = value;
                    this.RaisePropertyChanged("Ai_Project");
                }
            }
        }


        private decimal _aiAllscore;
        /// <summary>
        /// 项目总分
        /// </summary>
        [ColumnMap("Ai_AllScore", System.Data.DbType.Decimal)]
        public decimal Ai_AllScore
        {
            get { return _aiAllscore; }
            set
            {
                if (object.Equals(this._aiAllscore, value) != true)
                {
                    this._aiAllscore = value;
                    this.RaisePropertyChanged("Ai_AllScore");
                }
            }
        }


        private string _aiContent;
        /// <summary>
        /// 考核内容及评价标准
        /// </summary>
        [ColumnMap("Ai_Content", System.Data.DbType.String)]
        public string Ai_Content
        {
            get { return _aiContent; }
            set
            {
                if (object.Equals(this._aiContent, value) != true)
                {
                    this._aiContent = value;
                    this.RaisePropertyChanged("Ai_Content");
                }
            }
        }


        private string _aiEvaluate;
        /// <summary>
        /// 考核评价方法
        /// </summary>
        [ColumnMap("Ai_Evaluate", System.Data.DbType.String)]
        public string Ai_Evaluate
        {
            get { return _aiEvaluate; }
            set
            {
                if (object.Equals(this._aiEvaluate, value) != true)
                {
                    this._aiEvaluate = value;
                    this.RaisePropertyChanged("Ai_Evaluate");
                }
            }
        }


        private string _aiStandard;
        /// <summary>
        /// 扣分标准
        /// </summary>
        [ColumnMap("Ai_Standard", System.Data.DbType.String)]
        public string Ai_Standard
        {
            get { return _aiStandard; }
            set
            {
                if (object.Equals(this._aiStandard, value) != true)
                {
                    this._aiStandard = value;
                    this.RaisePropertyChanged("Ai_Standard");
                }
            }
        }


        private int _aiCreateuserid;
        /// <summary>
        /// 创建人ID
        /// </summary>
        [ColumnMap("Ai_CreateUserID", System.Data.DbType.Int32)]
        public int Ai_CreateUserID
        {
            get { return _aiCreateuserid; }
            set
            {
                if (object.Equals(this._aiCreateuserid, value) != true)
                {
                    this._aiCreateuserid = value;
                    this.RaisePropertyChanged("Ai_CreateUserID");
                }
            }
        }


        private DateTime _aiCreatetime;
        /// <summary>
        /// 创建时间
        /// </summary>
        [ColumnMap("Ai_CreateTime", System.Data.DbType.DateTime)]
        public DateTime Ai_CreateTime
        {
            get { return _aiCreatetime; }
            set
            {
                if (object.Equals(this._aiCreatetime, value) != true)
                {
                    this._aiCreatetime = value;
                    this.RaisePropertyChanged("Ai_CreateTime");
                }
            }
        }


        private int _aiModifyuserid;
        /// <summary>
        /// 修改人ID
        /// </summary>
        [ColumnMap("Ai_ModifyUserID", System.Data.DbType.Int32)]
        public int Ai_ModifyUserID
        {
            get { return _aiModifyuserid; }
            set
            {
                if (object.Equals(this._aiModifyuserid, value) != true)
                {
                    this._aiModifyuserid = value;
                    this.RaisePropertyChanged("Ai_ModifyUserID");
                }
            }
        }


        private DateTime _aiModifytime;
        /// <summary>
        /// 修改时间
        /// </summary>
        [ColumnMap("Ai_ModifyTime", System.Data.DbType.DateTime)]
        public DateTime Ai_ModifyTime
        {
            get { return _aiModifytime; }
            set
            {
                if (object.Equals(this._aiModifytime, value) != true)
                {
                    this._aiModifytime = value;
                    this.RaisePropertyChanged("Ai_ModifyTime");
                }
            }
        }


        private byte[] _aiTimestamp;
        /// <summary>
        /// 时间戳
        /// </summary>
        [ColumnMap("Ai_TimeStamp", System.Data.DbType.Binary)]
        public byte[] Ai_TimeStamp
        {
            get { return _aiTimestamp; }
            set
            {
                if (object.Equals(this._aiTimestamp, value) != true)
                {
                    this._aiTimestamp = value;
                    this.RaisePropertyChanged("Ai_TimeStamp");
                }
            }
        }

        private bool _asInclude = true;
        /// <summary>
        /// 本次考核是否包含该项目
        /// </summary>
        [ColumnMap("As_Include", System.Data.DbType.Boolean)]
        public bool As_Include
        {
            get { return _asInclude; }
            set
            {
                if (object.Equals(this._asInclude, value) != true)
                {
                    this._asInclude = value;
                    this.RaisePropertyChanged("As_Include");
                }
            }
        }

    }
}



